<% form_for :user, @user, :url => { :action => "create" } do |f| %>
  <%= render :partial => "form", :object => f %>
  <%= f.submit "Register" %>
<% end %>